package com.haixiaoke.saas.repository.orderStateMachine;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author Dell
 * @Date 2023/4/26
 **/
public enum OrderStateEnum {

    ORDER_CREATE(0, "创建订单"),

    ORDER_STATE_PAYMENT(1, "已支付"),
    ORDER_STATE_UN_PAYMENT(2, "未支付"),
    ORDER_STATE_CHECK_IN(3, "已入住"),
    ORDER_STATE_UN_INSPECTION(4, "待验房"),
    ORDER_STATE_INSPECTION(5, "已验房"),
    ORDER_STATE_UN_CHECK_OUT(6, "待退租"),
    ORDER_STATE_CHECK_OUT(7, "已退租"),
    ORDER_STATE_COMPLETION(8, "已完成"),
    ORDER_STATE_CANCELED(9, "已取消"),
    ORDER_STATE_REFUND(10,"已退款"),
    ORDER_STATE_UN_REFUND(11,"待退款");

    @Getter
    @Setter
    Integer value;

    @Getter
    @Setter
    String label;

    OrderStateEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
